package model;

public class Student {
	private int id;
	private String name;
	private int age;
	private int classId;
	private int grade;
	public Student(int id,String name,int age,int classId, int grade){
		this.id=id;
		this.setName(name);
		this.setAge(age);
		this.setClassId(classId);
		this.setGrade(grade);
	}
	public int getId(){
		return id;
	}
	public void setId(int id){
		this.id=id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public int getClassId() {
		return classId;
	}
	public void setClassId(int classId) {
		this.classId = classId;
	}
	public Object getGrade() {
		return grade;
	}
	public void setGrade(int grade) {
		this.grade = grade;
	}
	
}
